package pojo;

import java.util.Date;

public class Department {
    public int department_id;
    public String department_name;
    public int level;
    public int parent_id;
    public Date create_time;

    // 所有属性的getter/setter方法必须遵循JavaBean规范：getXxx()/setXxx()
    public int getDepartmentId() { return department_id; }
    public void setDepartmentId(int department_id) { this.department_id = department_id; }

    public String getDepartmentName() { return department_name; }  // 修改：去掉下划线
    public void setDepartmentName(String department_name) { this.department_name = department_name; }  // 修改：去掉下划线

    public int getLevel() { return level; }
    public void setLevel(int level) { this.level = level; }

    public int getParentId() { return parent_id; }
    public void setParentId(int parent_id) { this.parent_id = parent_id; }

    public Date getCreateTime() { return create_time; }  // 修改：去掉下划线
    public void setCreateTime(Date create_time) { this.create_time = create_time; }  // 修改：去掉下划线
}